package com.lagou.handler;

/**
 * @ClassName: SplitTest
 * @Description: TODO
 * @Author: lixing
 * @Date: 2020-04-28 12:30
 * @Version: 0.0.1
 */
public class SplitTest {
    public static void main(String[] args) {
        String data = "127.0.0.1:8080;123654693;126352671837";
        String[] strings = data.split(";");
        for (int i = 0; i < strings.length; i++) {
            System.out.println("---" + strings[i]);
        }
    }
}
